BIN=proc
SRC=$(shell ls *.cc)
OBJ=$(SRC:.cc=.o)
CC=g++
FLAGS=-std=c++11 -lpthread

$(BIN):$(SRC)
	$(CC) -o $@ $^  $(FLAGS)

.PHONY:clean
clean:
	rm -rf $(BIN) $(OBJ)
